<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>lwIP network interface integration library: Group_lwip_network_interface_integration_macros</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="cypress_logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">lwIP network interface integration library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__group__lwip__network__interface__integration__macros.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle"><div class="title">Group_lwip_network_interface_integration_macros<div class="ingroups"><a class="el" href="group__group__lwip__network__interface__integration.html">lwip-network-interface-integration</a></div></div></div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga4048bf3892868ded8a28f8cbdd339c09"><td class="memItemLeft" align="right" valign="top"><a id="ga4048bf3892868ded8a28f8cbdd339c09" name="ga4048bf3892868ded8a28f8cbdd339c09"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>UNUSED_VARIABLE</b>(x)&#160;&#160;&#160;( (void)(x) )</td></tr>
<tr class="memdesc:ga4048bf3892868ded8a28f8cbdd339c09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Suppress unused variable warning. <br /></td></tr>
<tr class="separator:ga4048bf3892868ded8a28f8cbdd339c09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa54e6e5e8fc59bfc8a004e439eb28fb1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lwip__network__interface__integration__macros.html#gaa54e6e5e8fc59bfc8a004e439eb28fb1">PROTECTED_FUNC_CALL</a>(func)</td></tr>
<tr class="memdesc:gaa54e6e5e8fc59bfc8a004e439eb28fb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Protect the function call by acquiring LwIP Core lock.  <a href="group__group__lwip__network__interface__integration__macros.html#gaa54e6e5e8fc59bfc8a004e439eb28fb1">More...</a><br /></td></tr>
<tr class="separator:gaa54e6e5e8fc59bfc8a004e439eb28fb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d8892d96c10fc1abbb8f0797f816feb"><td class="memItemLeft" align="right" valign="top"><a id="ga9d8892d96c10fc1abbb8f0797f816feb" name="ga9d8892d96c10fc1abbb8f0797f816feb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_MAC_ADDR_LEN</b>&#160;&#160;&#160;(6U)</td></tr>
<tr class="memdesc:ga9d8892d96c10fc1abbb8f0797f816feb"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC address length. <br /></td></tr>
<tr class="separator:ga9d8892d96c10fc1abbb8f0797f816feb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gaa54e6e5e8fc59bfc8a004e439eb28fb1" name="gaa54e6e5e8fc59bfc8a004e439eb28fb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa54e6e5e8fc59bfc8a004e439eb28fb1">&#9670;&nbsp;</a></span>PROTECTED_FUNC_CALL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PROTECTED_FUNC_CALL</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">func</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">LOCK_TCPIP_CORE(); \</div>
<div class="line">func; \</div>
<div class="line">UNLOCK_TCPIP_CORE();</div>
</div><!-- fragment -->
<p>Protect the function call by acquiring LwIP Core lock. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>lwIP network interface integration library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
